package com.lx.person.entity;

/**
 * @author 柳新宽
 * @create 2022-03-21  12:43
 * @describe
 */
public class Teacher extends Person{
    private int level;


    @Override
    public void showMe() {
        System.out.println("这是一名老师,身份证号为："+getCardId()+";姓名为："+getName()+";性别为："+getGender()
                +";籍贯为："+getHomeTown()+";职位等级为："+getLevel());
    }
    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }
}